from prefect import flow, task
from flow_B import son_flow

@task(name="Print Hello")
def task_flow(name):
    msg = f"Hello {name}!"
    print(msg)
    return msg

@flow(name="Hello Flow", log_prints=True)
def father_flow(name="world"):
    message = task_flow(name)
    son_flow(message)

father_flow("Marvin")